<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<!--[if IE 8]> <html class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html class="no-js">
  <!--<![endif]-->
  <head>
      <script type="text/javascript">
          this.approot ="${contextPath}";
          this.primaryKey = 'id';

      </script>
    <title>R+权限管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="MobileOptimized" content="320" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/plugins/font-awesome/css/font-awesome.min.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/plugins/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/plugins/uniform/css/uniform.default.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/plugins/fuelux/css/tree-metronic.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/plugins/bootstrap-datepicker/css/datepicker.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/css/style-metronic.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/css/style.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/css/style-responsive.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/css/themes/light.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/css/pages/login.css" />
    <link rel="stylesheet" href="${contextPath}/resources/public/assets/css/custom.css" />
    <link rel="shortcut icon" href="favicon.ico" />
  </head>
  <body class="login">
    <div class="content" style="margin-top: 50px;">
      <form class="login-form" action="${pageContext.request.contextPath}/j_spring_security_check" method="post">
        <h3 class="form-title">R+权限管理系统</h3>
        
        <div class="alert alert-danger display-hide" style="display: block;">
          <span>${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message}</span>
        </div>
        
        <div class="form-group">
          <label class="control-label sisible-ie8 visible-ie9">用户名</label>
          <div class="input-icon">
            <input type="text" autocomplete="off" placeholder="用户名" name="j_username" class="form-control placeholder-no-fix" />
          </div>
        </div>
        <div class="form-group">
          <label class="control-label sisible-ie8 visible-ie9">密码</label>
          <div class="input-icon">
            <input type="password" autocomplete="off" placeholder="密码" name="j_password" class="form-control placeholder-no-fix" />
          </div>
        </div>
        <div class="form-actions">
          <button type="submit" class="btn green pull-right">登录</button>
        </div>
      </form>
    </div>
    <!--[if lt IE 9]> <script src="/assets/plugins/respond.min.js"></script><![endif]-->
  </body>
</html>